package main

import (
	"fmt"
)

func baseN(n int64, base int64) {
	for n>0 {
		m := n % base
		n = n / base
		fmt.Printf("%v , %v \n", m, n)
	}
}

func main() {
	 baseN(888,999)
}


